﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Data.SqlClient;

namespace TradingAppDal
{
    public class AdminDal
    {
        public static bool TestConnectionString(string sConnStr)
        {
            
            try
            {
                SqlConnection conn = new SqlConnection(sConnStr);
                conn.Open();
                conn.Close();
            }
            catch (Exception ex)
            {
                return false;
            }
            return true;
        }
    }
}
